import {createApp} from 'vue'
import App from './App.vue'
import router from './router'
import vSlideIn from '@/components/vSlideIn'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import 'highlight.js/styles/atom-one-dark.css'
import 'highlight.js/lib/common'
import hljsVuePlugin from "@highlightjs/vue-plugin";

const app = createApp(App)
app.directive('slide-in', vSlideIn)
app.use(ElementPlus)
app.use(hljsVuePlugin)
app.use(router).mount('#app')
